package com.zhentao.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhentao.model.common.dtos.ResponseResult;
import com.zhentao.model.common.enums.AppHttpCodeEnum;
import com.zhentao.model.pojo.par.ChargeParName;
import com.zhentao.model.pojo.par.ChargeParOrders;
import com.zhentao.model.pojo.par.param.ChargeOrdersParam;
import com.zhentao.service.ChargeParNameService;
import com.zhentao.mapper.ChargeParNameMapper;
import org.springframework.stereotype.Service;
import org.springframework.util.StringUtils;

import java.util.List;

/**
* @author 22115
* @description 针对表【charge_par_name】的数据库操作Service实现
* @createDate 2024-12-28 10:46:19
*/
@Service
public class ChargeParNameServiceImpl extends ServiceImpl<ChargeParNameMapper, ChargeParName>
    implements ChargeParNameService{

    @Override
    public ResponseResult getParList() {
        List<ChargeParName> list = this.list();
        if (list.size() == 0){
            return ResponseResult.errorResult(500,"暂无参数信息");
        }
        return ResponseResult.okResult(list);
    }



}




